package org.sws.infrastructure.persistent.dao;

import org.apache.ibatis.annotations.Mapper;
import org.sws.infrastructure.persistent.po.RaffleActivitySku;

import java.util.List;

/**
 * @Author sws
 * @Date 2025/3/18 21:04
 * @description:
 */
@Mapper
public interface IRaffleActivitySkuDao {

    RaffleActivitySku queryActivitySku(Long sku);

    void updateActivitySkuStock(Long sku);

    void clearActivitySkuStock(Long sku);

    List<RaffleActivitySku> queryActivitySkuListByActivityId(Long activityId);

    List<Long> querySkuList();
}
